.personal-container {
    min-height: 100vh;
    background-color: #f5f7fa;
    padding: 24px;
}

.page-header {
    margin-bottom: 32px;
}

.page-title {
    color: #1890ff;
    display: flex;
    align-items: center;
}

.title-icon {
    margin-right: 8px;
    font-size: 24px;
}

.main-content {
    display: flex;
    gap: 24px;
}

.profile-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.profile-card {
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.profile-header {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
}

.avatar-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.avatar-container:hover {
    transform: scale(1.05);
}

.avatar-initial {
    font-size: 48px;
    font-weight: bold;
    color: white;
}

.profile-name-section {
    text-align: center;
}

.profile-name {
    margin-bottom: 8px !important;
    color: #1f2329;
}

.user-id {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.id-icon {
    margin-right: 4px;
    font-size: 14px;
}

.profile-divider {
    margin: 0 !important;
}

.profile-completion {
    padding: 16px 24px;
}

.completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.completion-badge {
    font-size: 12px !important;
}

.progress-bar {
    height: 8px;
    background-color: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.completion-text {
    font-size: 12px;
}

.account-status {
    padding: 16px 24px 24px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.status-item:last-child {
    margin-bottom: 0;
}

.status-icon {
    margin-right: 8px;
    color: #1890ff;
}

.status-badge {
    font-size: 12px !important;
}

.status-value {
    max-width: 180px;
    text-align: right;
}

.profile-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.detail-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card-title {
    margin: 0 0 24px 0 !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #1f2329;
    display: flex;
    align-items: center;
}

.card-icon {
    margin-right: 8px;
    color: #1890ff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(24, 144, 255, 0.2);
}

.info-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.info-icon {
    font-size: 18px;
}

.info-label {
    margin-left: 8px;
    font-weight: 500;
    color: #595959;
}

.important-badge {
    margin-left: auto !important;
}

.info-value {
    font-size: 15px;
    line-height: 1.5;
}

.introduction-container {
    padding: 16px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.introduction-content {
    margin: 0 !important;
    line-height: 1.8;
    font-size: 15px;
}

.roles-permissions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.role-permission-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.role-permission-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.role-permission-content {
    padding: 8px 0;
}

.tags-container {
    width: 100%;
    min-height: 60px;
}

.custom-tag {
    margin: 4px 4px 4px 0 !important;
    padding: 4px 10px !important;
    font-size: 13px !important;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
    }

    .roles-permissions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .personal-container {
        padding: 16px;
    }
}
